package com.hhq.sso.common.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY;

/**
 * <p>
 * Description: 用户信息
 * </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/6/19 15:09
 */
@Setter
@Getter
public class UserInfo implements Serializable {

    @Schema(accessMode = READ_ONLY)
    private String clientId;

    /**
     * 用户id
     */
    @Schema(accessMode = READ_ONLY)
    private Long userId;
    /**
     * 租户ID
     */
    @Schema(accessMode = READ_ONLY)
    private String tenantId;
    /**
     * 部门id
     */
    @Schema(accessMode = READ_ONLY)
    private String deptId;
    /**
     * 昵称
     */
    @Schema(accessMode = READ_ONLY)
    private String userName;
    /**
     * 账号
     */
    @Schema(accessMode = READ_ONLY)
    private String account;
    /**
     * 角色id
     */
    @Schema(accessMode = READ_ONLY)
    private String roleId;
    /**
     * 角色名
     */
    @Schema(accessMode = READ_ONLY)
    private String roleName;

}
